package ooday01.homework.student;

public class StudentTest {
    public static void main(String[] args) {
        // 无参数
        Student s1 = new Student();
        s1.name = "小王";
        s1.age = 14;
        s1.className = "101";
        s1.stuId = "010114";
        s1.study();
        s1.sayHi();
        s1.playWith("小李");

        // 有参数
        Student s2 = new Student("小时",24,"102","010115");
        s2.study();
        s2.sayHi();
        s2.playWith("小八");

        Student s3 = new Student("小朋",26,"103","010116");
        s3.study();
        s3.sayHi();
        s3.playWith("小九");

    }
}
